package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Lunch {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("口袋里多少钱:");
        int money=in.nextInt();
        //有问题，money=120时，吃了两顿
        if(money>=100){
            System.out.println("吃KFC");
            money=money-70;
        }
        if(money<100){
            System.out.println("吃了一份炒面");
        }
    }
}
